//
//  SettingViewController.m
//  MyLottery
//
//  Created by wpapple on 16/5/24.
//  Copyright © 2016年 wpapple. All rights reserved.
//

#import "SettingViewController.h"
#import "ConfigTableViewController.h"

@interface SettingViewController ()

@end

@implementation SettingViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(IBAction)settingBtnClicked:(id)sender
{
    ConfigTableViewController *VC = [[ConfigTableViewController alloc]init];
    
    VC.plistName = @"Setting";
    
    VC.title = @"设置";
    
    VC.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"常见问题" style:UIBarButtonItemStylePlain target:nil action:nil];
    
    [self.navigationController pushViewController:VC animated:YES];
    
}

@end
